/**
 * 服务器地址
 */
export const BASE_SERV = '/';
export const API_PATH = '/api/v1';
export const PROCEDURE_LANG = [
    {
        label: "C",
        value: '0',
        mode: 'text/x-csrc'
    },
    {
        label: "C++",
        value: '1',
        mode: 'text/x-c++src'
    },
    {
        label: "JAVA",
        value: '3',
        mode: 'text/x-java'
    },
]

export const LANG_CODE = {
    0:"C",
    1:"C++",
    3:"JAVA"
}

export const RESULT_CODE = {
    0: '等待',
    1: '等待重判',
    2: '编译中',
    3: '运行并评判',
    4: '正确',
    5: '格式错误',
    6: '答案错误',
    7: '时间超限',
    8: '内存超限',
    9: '输出超限',
    10: '运行错误',
    11: '编译错误',
    12: '编译成功',
    13: '未知',
}